package com.boyinet.imesh2json.netty.policy

class NoneRetry : RetryPolicy {

    override fun allowRetry(retryCount: Int): Boolean {
        return false
    }

    override fun getSleepTimeMs(retryCount: Int): Long {
        return -1
    }
}